package frameworks.widgets
{
	public class BaseStackItem extends ResultProxy
	{
		public var stack:BaseStack;
		
		public function BaseStackItem()
		{
		}
		
		public function execute():void{
			
		}
		override public function setSuccessData(result:Result=null):void{
			super.setSuccessData(result);
			stack.successItem(result);
			stack.completeItem(result);
		}
		override public function setErrorData(result:Result=null):void{
			super.setErrorData(result);
			stack.errorItem(result);
			stack.completeItem(result);
		}
		override public function setProgressData(data:Object=null):void{
			super.setProgressData(data);
			stack.progressItem(data);
		}
		
	}
}